﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TinyPG
{
    public class InOut
    {
        private int _byte;
        private int _bit;
        private string _nature;
        private bool _hauteImpedance;

        public InOut(string Nature, int Byte, int Bit, bool HI)
        {
            _nature = Nature;
            _byte=Byte;
            _bit=Bit;
            _hauteImpedance = HI;
        }

        public bool GetHI()
        {
            return _hauteImpedance;
        }

        public int GetByte()
        {
            return _byte;
        }

        public int GetBit()
        {
            return _bit;
        }
    }
}
